package com.saver.modules.sys.dao;

import com.saver.modules.sys.entity.SysLoginLogEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;

public interface SysLoginLogDao extends JpaRepository<SysLoginLogEntity, Long> {

    Integer countAllByCreateDateAfter(Date createDate);

    Integer countAllByIsSuccess(Boolean b);
}
